package com.powermgr.boringtest.utils;

import java.io.File;

/**
 * SomePath
 *
 * @author qiuxiangdong
 * @date 2023/6/12
 */
public class ConfigUtils {
    public static final long SEVEN_DAY = 3 * 24 * 60 * 60 * 1000L;
    public static boolean PR_FILE_FLAGS = false;

    public static final int SUCCESS = 0;
    public static final int ROOT_FALSE = 1;
    public static final int UN_TAR_GZ_FALSE = 2;
    public static final int VERSION_DOWNLOAD_FALSE = 3;
    //用例情况
    public static final String CASE_JSON = System.getProperty("user.dir") + File.separator + "data" + File.separator + "config" + File.separator + "case.json";
    //提供多分支支持
    public static final String CI = System.getProperty("user.dir") + File.separator + "data" + File.separator + "config" + File.separator + "ci.json";
    //邮箱和码云token
    public static final String USER_JSON = System.getProperty("user.dir") + File.separator + "data" + File.separator + "config" + File.separator + "user.json";
    //访问量和执行数量
    public static final String VISIT_JSON = System.getProperty("user.dir") + File.separator + "data" + File.separator + "config" + File.separator + "visit.json";

    //3天内执行过的pr信息
    public static final String PR_3DAY = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator + "3day";
    //用例框架模板
    public static final String PR_CASE = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator + "case";
    //刷机工具
    public static final String PR_TOOLS = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator + "tools";
    //执行过所有的pr的信息
    public static final String PR_LIST = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator + "list";
    //提供下载的测试报告目录
    public static final String PR_REPORTS = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator+"reports";
    //设备用
    public static final String SN = System.getProperty("user.dir") + File.separator + "data" + File.separator + "sn";
    //每天主干的全量用例位置
    public static final String DAILY = System.getProperty("user.dir") + File.separator + "data" + File.separator + "pr" + File.separator + "daily";
}
